<?php


namespace app\admin\controller;

use think\facade\Request;
use think\facade\View;

class Vip
{
    public function vip_list()
    {
        $where=[];
        $post=Request::param();
        View::assign($post);
        if(isset($post['keywords']) && $post['keywords'] <>'')
            $where['keywords']=$post['keywords'];

          $list=\app\admin\model\Vip::getUserList($where);
        View::assign('list',$list);
        return view();
    }
    public function vip_add()
    {
        return view();
    }
}